

package com.api.oa.services;

import com.api.oa.model.entity.YQFace;
import com.api.oa.model.params.YQFaceParam;
import com.api.oa.model.vo.OaOrgTreeVO;
import com.api.oa.model.vo.TencentFaceVO;
import com.api.oa.model.vo.YQFaceVO;
import com.github.pagehelper.PageInfo;
import java.util.List;

public interface YQFaceService {


    Integer add(YQFace entity) throws Exception;


    void remove(Long id);


    Integer update(YQFace org);


    PageInfo<YQFaceVO> list(String insCode,String keyWord,String role, Integer pageIndex, Integer pageSize);


    YQFace one(Long id);


    YQFace verify(Long id) throws Exception;


    int reg(YQFaceParam entity) throws Exception;


    /**
     * Android 未注册的人脸
     * @param userId
     * @param pageIndex
     * @param pageSize
     * @return
     */
    PageInfo<YQFaceVO> patientFace(Long userId, String attendType,String keyWord,Integer pageIndex, Integer pageSize) throws Exception;


    TencentFaceVO verifyTencent(Long id) throws Exception;
}
